//     https://ac.nowcoder.com/acm/problem/213471




#include <iostream>
using namespace std;

int main()
{
    int n;
    cin >> n;
    int l = 1, r = n;
    while (l < r)
    {
        cout << l << ' ' << r << ' ';
        l++;
        r--;
    }
    if (n % 2 != 0)  cout << l << endl;
    return 0;
}